package com.kws.merchant.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author : zhangbenting
 * @date : 2024/11/27 18:57
 * @Version: 1.0
 */
@Data
@TableName("tb_item_user_scheme")
public class ItemUserSchemeEntity implements Serializable {
    private static final long serialVersionUID = 848496046342732062L;

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("方案id")
    private Long schemeId;

    @ApiModelProperty("方案名称")
    private String schemeName;

    @ApiModelProperty("方案文件")
    private String schemeFile;

    @ApiModelProperty("用户ID")
    private Long userId;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("修改时间")
    private Date updateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("截止时间")
    private Date deadlineTime;

    @ApiModelProperty("电站ID")
    private String stationId;

    @ApiModelProperty("电站类型")
    private Integer stationType;

}

